<?php
namespace Application\Controllers;

class Index extends \Library\Controller\Controller
{

	public function __construct()
	{
	}
	
	public function indexAction()
	{
		if (MOD_TRACE && MOD_TRACE_CLASS_Application_Controllers_Index)
			var_dump("namespace Application\Controllers; class Index -> public function indexAction()");
		$this->addStyle("flexslider");
		$this->addScript("jquery.flexslider-min");
		$this->addScript("index_index");
	}
	
	public function testAction($nom="", $prenom="")
	{
		if (MOD_TRACE && MOD_TRACE_CLASS_Application_Controllers_Index)
			var_dump("namespace Application\Controllers; class Index -> public function testAction($nom="", $prenom="")");
		$this->setdataView(array(	'siteName' => "test-MVC",
									'pageTitle' => "toto"));
		//var_dump("ctrl:index, act:test, nom: $nom, prenom: $prenom");
	}
}
?>